package com.ruoyi.kuang;

import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName RuoYiKuangApplication
 * @Description TODO
 * @Author Augenestern_QXL
 * @Version 1.0
 */
@SpringBootApplication
@RefreshScope
@EnableRyFeignClients
@RestController
public class RuoYiKuangApplication {
    public static void main(String[] args) {
        SpringApplication.run(RuoYiKuangApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  Kuang模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " .-------.       ____     __        \n" +
                " |  _ _   \\      \\   \\   /  /    \n" +
                " | ( ' )  |       \\  _. /  '       \n" +
                " |(_ o _) /        _( )_ .'         \n" +
                " | (_,_).' __  ___(_ o _)'          \n" +
                " |  |\\ \\  |  ||   |(_,_)'         \n" +
                " |  | \\ `'   /|   `-'  /           \n" +
                " |  |  \\    /  \\      /           \n" +
                " ''-'   `'-'    `-..-'              ");
    }

    @Value("${kuang}")
    private String kuang;

    @GetMapping("/test")
    public void test(){
        System.out.println(kuang);
    }
}























